<?php
/**
 *
 * @author martin
 * @version 
 */
require_once 'Zend/View/Interface.php';

/**
 * ClickCss helper
 *
 * @uses viewHelper Zend_View_Helper
 */
class Zend_View_Helper_ClickCss {

    /**
     * @var Zend_View_Interface 
     */
    public $view;
    
    /**
     * 
     */
    public function clickCss() {                 
        if (Model_User::getLoggedUser()) {        	
        	$this->view->headLink()->appendStylesheet('css/headerUser.css');
        }
        return $this->view->headLink();
        
    }

    /**
     * Sets the view field 
     * @param $view Zend_View_Interface
     */
    public function setView(Zend_View_Interface $view) {
        $this->view = $view;
    }
}
